#include"Stack.h"

void test01()
{
	ST st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	//StackPop(&st);
	//StackPop(&st);
	//StackPop(&st);
	//StackPop(&st);
	//StackPop(&st);
	//while (!StackEmpty(&st))
	//{
	//	int top = StackTop(&st);
	//	printf("%d ", top);
	//	StackPop(&st);
	//}
	int size = StackSize(&st);
	printf("size:%d\n", size);

	StackDestroy(&st);
}

int main()
{
	test01();
	return 0;
}